package operation;

import book.BookList;

public class ExitOperation implements IOperation{
    @Override
    public void word(BookList bookList) {
        System.out.println("退出系统");
        System.exit(0);//0代表正常退出,1也行
    }

//    public static void main(String[] args) {
//        new ExitOperation().word();
//    }
}
